package cn.mp.generator.config;

import lombok.Data;

@Data
public class ParamsConfig {
	
	//生成代码里，注释的作者
    private String author = "zhuyuejun";

    //代码生成输出的目录，可为项目路径的相对路径
    private String outputDirectory = "temp";

    //jdbc驱动
    private String jdbcDriver = "com.mysql.jdbc.Driver";

    //数据库连接地址
    private String jdbcUrl = "jdbc:mysql://192.168.2.20:3306/nos_digital_scm?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=UTC";

    //数据库账号
    private String jdbcUserName = "nos_dev";

    //数据库密码
    private String jdbcPassword = "nos_dev";

    //去掉表的前缀,如表的名称为ask_user
    private String[] removeTablePrefix = {"sys_","t_","u_"};

    //代码生成包含的表，可为空，为空默认生成所有、如果指定则将表名写入 {"user","role","dept"}
    private String[] includeTables = {};

    //代码生成的类的父包名称
    private String parentPackage = "com.nos.scm";

  
    // 是否在实体中生成字段注释
    private boolean fieldAnnotationEnable = true;
    
    // 是否采用lombok模式
    private boolean setEntityLombokModel = true;
}
